package com.xin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 校园卡消费
 * </p>
 *
 * @author l1
 * @since 2017-11-14
 */
@Data
@Accessors(chain = true)
@TableName("u_student_xiao_yuan_ka_xiao_fei")
public class UStudentXiaoYuanKaXiaoFei extends Model<UStudentXiaoYuanKaXiaoFei> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 学生工号
     */
	private String sid;
    /**
     * 年份
     */
	@TableField("nian_fen")
	private Integer nianFen;
    /**
     * 月份
     */
	@TableField("yue_fen")
	private Integer yueFen;
    /**
     * 金额
     */
	@TableField("jin_e")
	private Float jinE;
    /**
     * 备注
     */
	@TableField("bei_zhu")
	private String beiZhu;


	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
